import request from './request'

export function login(data) {
	return request({
		url: '/oauth/token',
		method: 'POST',
		header: {
			"Login-Terminal": "0",
			"content-type": "application/x-www-form-urlencoded",
			// "content-type": "application/json;charset:utf-8",
			"Authorization": "Basic ZDBhNDkyYjdiY2FlNDVlZmI3NjlhNmY3ZWUxZjMwNTQ6MTg4YTllNThjMGNjNDViOWE2YzczMWUzMzE4MGRmMTA="
		},
		data
	})
}
